package com.zhumeijia.wuye.mapper;

import com.zhumeijia.wuye.bean.Location;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author xuxin
 * @description 针对表【location】的数据库操作Mapper
 * @createDate 2022-05-05 01:31:26
 * @Entity com.zhumeijia.wuye.bean.Location
 */
@Mapper
public interface LocationMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Location record);

    int insertSelective(Location record);

    Location selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Location record);

    int updateByPrimaryKey(Location record);

    Location selectByProvice(String province);

    List<Location> getAllLocation();
}
